.upload-picture {
  width: 50px;
  height: 50px;
  box-shadow: 0 0 0 1px #dcdfe6 inset;
  
  :deep(.el-upload) {
    width: 100%;
    height: 100%;
  }
}

.service_page_manager {
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 5px;

  .header {
    display: flex;
    justify-content: space-between;

    .btn_group,
    .search {
      display: flex;
      column-gap: 5px;
    }

    .search {
      :deep(.el-input) {
        width: 120px;
      }

      :deep(.el-select) {
        width: 100px;
      }
    }
  }

  .table {
    max-height: calc(100% - 64px);
  }

  .pagination {
    display: flex;
    justify-content: flex-end;
  }
}

.qr_code_detail_modal {
  .body {
    display: flex;
    height: 420px;
    column-gap: 12px;
  }

  .form-text {
    .form-item {
      margin-bottom: 18px;

      .el-radio {
        margin-right: 18px;
      }
    }

    p {
      font-size: 12px;
      color: #999;
    }

    .tips {
      padding-left: 12px;

      .add {
        color: #007cff;
        cursor: pointer;
      }
    }

    .list {
      padding: 0 5px;
      margin: 15px 0;
      max-height: 220px;
      overflow-y: auto;
      height: 100%;

      .text-item {
        margin-bottom: 15px;

        .num {
          width: 25px;
          text-align: center;
          font-size: 12px;
          margin-right: 12px;
        }

        .text-input {
          width: 385px;
        }

        .delete {
          margin-left: 15px;
          font-size: 12px;
          color: #f56c6c;
          cursor: pointer;
        }

        .el-form-item__error {
          left: 38px;
        }
      }
    }
  }

  .preview_container {
    text-align: center;
    width: 300px;
    padding-top: 50px;
    background-color: #f5f6f7;

    .qr_code_preview {
      justify-content: center;
      align-items: center;
      background-color: white;
      height: 300px;
      width: 250px;
      margin: 0 auto;

      .text-color {
        background-color: #007cff;
      }

      .gen-top {
        font-size: 18px;
        font-weight: bold;
      }
    }

    .download_btn {
      margin-top: 15px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #606266;

      &:hover {
        color: $primaryColor;
      }
    }
  }

  .config {
    flex: 1;

    :deep(.el-form) {
      .el-form-item {
        .el-form-item__content {
          .el-form-item__error {
            margin: 0;
          }
        }
      }
    }

    .header {
      margin-bottom: 12px;
      display: flex;
      column-gap: 36px;
      box-sizing: border-box;

      .item {
        display: flex;
        column-gap: 5px;

        .label {
          color: #606266;
        }
      }
    }

    .title {
      color: #606266;
      margin-bottom: 12px;
    }

    .icon {
      display: flex;
      align-items: center;

      .label {
        white-space: nowrap;
        min-width: 34px;
        padding-right: 12px;
        text-align: right;
      }

      .icons {
        display: flex;
        column-gap: 8px;
        flex-wrap: wrap;

        .selected_container {
          width: 100%;
          height: 100%;
          position: relative;

          .iconfont {
            position: absolute;
            top: 0;
            right: 0;
            width: 16px;
            height: 16px;
            line-height: 16px;
            color: $primaryColor;
          }
        }
      }

      .gen-right-l {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        margin-left: 10px;
      }

      .gen-span {
        width: 50px;
        height: 50px;
        position: relative;
        margin-left: 10px;
        cursor: pointer;
      }

      .gen-img {
        width: 50px;
        height: 50px;
        position: absolute;
        border-radius: 5px;
        border: 1px solid #ccc;

        .gen-image {
          width: 40px;
          height: 20px;
          position: absolute;
          margin: 20px 5px;
        }
      }

      .img-icon {
        position: absolute;
        width: 100%;

        .selecticon {
          padding-left: 34px;
        }

        .selecticon svg {
          padding-bottom: 7px;
        }
      }

      .img-icon-del {
        display: none;
      }

      .img-icon svg {
        padding-bottom: 7px;
      }

      // 鼠标移入样式
      .gen-span:hover .img-icon-del {
        display: block;
        position: absolute;
        color: #f56c6c;
      }
    }

    .style {
      display: flex;
      align-items: center;
      margin-top: 12px;

      .title {
        color: #606266;
        margin: 0;
        width: 34px;
        text-align: right;
        padding-right: 12px;
      }

      :deep(.el-form-item) {
        .el-form-item__content {
          display: flex;
          column-gap: 8px;
        }
      }

      .gen-right-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        margin-left: 10px;
      }

      .gen-label {
        background-image: url('/src/assets/image/generate.png');
        background-repeat: no-repeat;
        background-position: center;
        height: 60px;
        width: 50px;
        border: 1px solid #ccc;
        box-sizing: border-box;
        position: relative;
        border-radius: 2px;
        cursor: pointer;

        .iconfont {
          position: absolute;
          top: 0;
          right: 0;
          width: 16px;
          height: 16px;
          line-height: 16px;
          color: $primaryColor;
        }
      }

      .hd {
        width: 25px;
        height: 5px;
        background: #e5e5e5;
        margin: 6px auto;
      }

      .hd1 {
        width: 25px;
        height: 5px;
        background: #e5e5e5;
        margin: 38px auto;
      }

      .gen-lable-icon1 {
        margin-left: 25px;
        z-index: 100;
      }

      .gen-lable-icon svg {
        padding-bottom: 10px;
      }

      .gen-lable-icon1 svg {
        padding-bottom: 20px;
      }
    }

    .el-qrTitle {
      margin-top: 20px;
    }

    .el-qrProgramme {
      margin-left: 10px;
    }

    .el-color {
      margin-top: 20px;
      margin-left: 10px;
    }
  }

  .gen-title {
    font-size: 18px;
    line-height: 50px;
    height: 50px;
  }

  .save-btn {
    display: flex;
    justify-content: end;
    margin-top: 50px;
  }

  .el-upload--picture-card {
    --el-upload-picture-card-size: 50px;
  }
}
